package com.phamkhanh.model;

import org.hibernate.validator.constraints.NotEmpty;

public class LoginForm {
	@NotEmpty
	private String userName;
	
	@NotEmpty
	private String password;
	
	private boolean remember;
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public boolean isRemember() {
		return remember;
	}
	public void setRemember(boolean remember) {
		this.remember = remember;
	}
	@Override
	public String toString() {
		return "LoginForm [userName=" + userName + ", password=" + password
				+ ", remember=" + remember + "]";
	}
	
	
}
